package _dynamic;

import org.junit.Test;

/**
 * @author zk
 * @date 2019-10-27 14:12
 */
public class Client {
    @Test
    public void hireTest(){
        //被代理对象
        HireHouse hh = new HireHouseImpl();

        HireHouse hhProxy = Hire.getProxy(hh);

        hhProxy.hire();
    }
}
